package com.ds.decorator;

/**
 * 炒面类(具体构建角色)
 */
public class FriedNoodles extends FastFood{

    @Override
    public float cost() {
        return getPrice();
    }

    public FriedNoodles(){
        super(20,"炒饭");
    }
}
